﻿using System;
using System.Data;

namespace FluentSql
{
    public interface INonQueryFluentSqlCommand : IFluentSqlCommand
    {
        #region Public Methods

        int ExecuteNonQuery();

        INonQueryFluentSqlCommand SetCommand(string iCommand);

        INonQueryFluentSqlCommand SetCommandType(CommandType iCommandType);

        INonQueryFluentSqlCommand SetContext(IDalContext iContext);

        INonQueryFluentSqlCommand SetIsolationLevel(IsolationLevel iIsolationLevel);

        INonQueryFluentSqlCommand SetKeepConnection(bool iKeepConnection);

        INonQueryFluentSqlCommand SetParameters(Action<IDalSqlCommand> iSerializeParameters);

        #endregion Public Methods
    }
}
